package priv.mill.server;
import java.util.List;

import priv.mill.entry.Question;

public interface QuestionService {
	//根据Id查找
	Question getQuestionById(Integer questionId);
	
	Question getQuestionByEntry(Question question);
	
	List<Question> getQuestionsByPage(Question question);
	
	int updateQuestion(Question question);
	
	int insertQuestion(Question question);
		
	int deleteQuestion(Integer questionId);
}
